<!DOCTYPE HTML>
<html 
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:components="http://java.sun.com/jsf/composite/components">
	<f:view  contentType="text/html">
		<ui:insert name="metadata"/>
		<h:head>
			<meta charset="utf-8" />
			<meta name="description" content="#{msgs['msg.general.desc']}"/> 
            <title><h:outputText value="#{msgs['msg.general.title']}"/></title>
            
            <link rel="stylesheet" type="text/css" href="#{request.contextPath}/css/style.css"/>
            <link rel="stylesheet" type="text/css" href="#{request.contextPath}/css/navigation.css"/>
            <link rel="stylesheet" type="text/css" href="#{request.contextPath}/css/articles.css"/>
            <link rel="stylesheet" type="text/css" href="#{request.contextPath}/css/items.css"/>
            <link rel="stylesheet" type="text/css" href="#{request.contextPath}/css/add-item.css"/>
			
			<h:outputScript library="javax.faces" name="jsf.js"/>
			<h:outputScript library="primefaces" name="jquery/jquery.js" target="head" />
            <script type="text/javascript" src="#{request.contextPath}/js/script.js"></script>  
		    
		</h:head>
		<h:body>
			<h:panelGroup layout="block" styleClass="body-content">
				<ui:insert name="header">
				  <ui:include src="header.xhtml" />
				</ui:insert>
	
				<ui:insert name="header-content" /> 
				<section id="main-content">
					<a id="top"></a>
					<ui:insert name="content" /> 
                </section>
	
				<ui:insert name="footer">
				  <ui:include src="footer.xhtml" />
				</ui:insert> 
			</h:panelGroup>	
			<ui:debug hotkey="d" />		
		</h:body>
		
	</f:view>
</html>